package com.alibaba.nacos.controller;

import com.alibaba.nacos.config.FeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

//@FeignClient(name = "service-provider")
@FeignClient(contextId = "providerService", name = "service-provider",configuration = FeignConfig.class)
public interface ProviderService {
    @GetMapping(value = "/provider/openfeign")
    public String hello();

    @GetMapping(value = "/provider/timeOut")
    public String requestTimeOut();
}
